package com.firesafe.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "com.firesafe.common.feign")
//, exclude = {com.firesafe.common.interceptor.InterceptorConfig.class}  不能忽略自定义的配置类
@SpringBootApplication(scanBasePackages = {"com.firesafe.user","com.firesafe.common"})
public class FiresafeUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(FiresafeUserApplication.class, args);
    }

}
